package org.jeecg.modules.flow.common.constant;

public interface FlowCloudConstant {

    /**
     * 流结束事件MQ消息队列
     */
    String MQ_FLOW_END_EVENT = "mq_flow_end_event";
    /**
     * 流程结束事件MQ消息队列
     */
    String MQ_FLOW_PROCESS_COMPLETED_EVENT = "mq_flow_process_completed_event";

    /**
     * 流程终结事件MQ消息队列
     */
    String MQ_FLOW_PROCESS_CANCELLED_EVENT = "mq_flow_process_cancelled_event";

    /**
     * 任务完成事件MQ消息队列
     */
    String MQ_FLOW_TASK_COMPLETED_EVENT = "mq_flow_task_completed_event";

    /**
     * 流程实例ID
     */
    String FLOW_PROCESS_INSTANCE_ID = "processInstanceId";

    /**
     * 任务ID
     */
    String FLOW_TASK_ID = "taskId";

    /**
     * 业务字段
     */
    String FLOW_PROCESS_BUSINESS_KEY = "businessKey";

    /**
     * 流程类型：应收账款申请
     */
    String FLOW_PROCESS_TYPE_APPLY_CLOUD_CHAIN = "apply-cloud-chain";
}
